HADOOP-17229. No updation of bytes received counter value after response failure occurs in ABFS#2264
Conversation
…nse failure occurs in ABFS
|
💔 -1 overall
This message was automatically generated. |
...ols/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/services/AbfsRestOperation.java
Outdated
Show resolved
Hide resolved
|
LGTM, one minor change which is only count 200 responses, so as to make clear it is only successful GETs which are measured |
|
I was testing after the single-line comment, turns out the read() method is returning the bytes with HTTP-206(Partial Content) status code. So, should I check for only 206 for incrementing? |
|
🎊 +1 overall
This message was automatically generated. |
|
This is better. These are the only two responses which constitute success, right? |
|
It'd be from 200 to 206, so 7 in total. While testing I saw 206 was the code when there were some bytes returned. Not so sure about the other 2XX codes, but 200 and 202 were giving success with 0 bytes returned in a read() op. |
|
🎊 +1 overall
This message was automatically generated. |
|
+1, merged to trunk, do a retest on branch-3.3 and I'll merge there too |
…nse failure occurs in ABFS (apache#2264) Contributed by Mehakmeet Singh
…e failure occurs in ABFS (#2264) Contributed by Mehakmeet Singh Change-Id: Ia9ad1b87a460b10d27486bd00ee67c3cedd2b5b5
…nse failure occurs in ABFS (apache#2264) Contributed by Mehakmeet Singh (cherry picked from commit 0d85515)
…nse failure occurs in ABFS (apache#2264) Contributed by Mehakmeet Singh (cherry picked from commit 0d85515)
…nse failure occurs in ABFS (apache#2264) Contributed by Mehakmeet Singh (cherry picked from commit 0d85515)
…fter response failure occurs in ABFS (apache#2264) Contributed by Mehakmeet Singh ""Only flaky failures / known issues found. For details see the Quanta runs triaged."" Change-Id: Iabfa88dbde2d1e15375389b020225a51d49a7379
After a response failure at the moment, there is an increment to the bytes_received counter value which shouldn't increment.
Test-run: mvn -T 1C -Dparallel-tests=abfs clean verify
Not really sure about these two failures, seeing these in trunk as well.
Others are already in a Jira: HADOOP-17203.